package org.lzy.aibg.pojo;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class User {
    private List<String> friends;
    private Set<Double> data;
    private Map<String,String> family;

    public List<String> getFriends() {
        return friends;
    }

    public void setFriends(List<String> friends) {
        this.friends = friends;
    }

    public Set<Double> getData() {
        return data;
    }

    public void setData(Set<Double> data) {
        this.data = data;
    }

    public Map<String, String> getFamily() {
        return family;
    }

    public void setFamily(Map<String, String> family) {
        this.family = family;
    }

    //定位信息
    private Location location;

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    private String name;
    private int age;

    public void setName(String name) {
        System.out.println("name 赋值");
        this.name = name;
    }

    public void setAge(int age) {
        System.out.println("age 赋值");
        this.age = age;
    }

    public  void sayHello() {
        System.out.println("hello everyone!");
    }

    @Override
    public String toString() {
        return "User{" +
                "friends=" + friends +
                ", data=" + data +
                ", family=" + family +
                ", location=" + location +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}